package com.yuchen.jaxrs;

/**
 * @author Jack Q
 */
public class ResponseUtils {

    public static Responses success(){
        return new Responses(true,null);
    }

    public static Responses success(String msg){
        return new Responses(true,msg);
    }

    public static Responses error(){
        return new Responses(false,null);
    }

    public static Responses error(String msg){
        return new Responses(false,msg);
    }
}
